Hey! You Got Imperative in My Declarative, or A Mashup Made in Heaven: Making OWL friendlier with Javascript
نویسنده
چکیده
We propose that OWL 1.1 incorporate the use of Javascript. By choosing to make use of Javascript within OWL, adoption and utility of OWL might be improved in two different ways. First, it could be used in a facility that lets users specify Javascript code to translate domain specific languages into OWL. Second, Javascript is well known to a large number of web developers. By enabling OWL documents to have property values that are computed by Javascript functions, we extend the language in a useful way, and encourage the use of OWL in different applications than it might otherwise be used. OWL needs a method of extending its syntax to enable concise expression of domain statements without compromising its expressiveness. For example, a current debate over the whether to use OWL as the ”native” format for the OBO ontologies, is driven (away from using OWL) by OWL’s unappealing syntax and the relative ease of understanding OBO’s current format. We describe a model for how to use Javascript, included as part of an OWL ontology, to parse domain specific languages into native OWL. Two levels of operation are distinguished, the first a lexical translation into a language which extends the functional syntax, and a second macro expansion which translates the extended functional syntax to expressions that only use the defined OWL vocabulary. For an implementation of computed property values, we propose that they have a status similar to annotation properties, in that they are not reasoned over. Instead they can be computed in terms of non-annotation property values. In this way, we allow for useful expressivity gains without complicating the OWL reasoning or imposing a complicated evaluation model. We discuss what access to the environment, such as the ability to query against the ontology, could profitably (and safely) be had by these scripts. Use cases motivated from experience in validating BioPAX and from other applications are provided. Javascript interpreters are available for use from within the programming languages that the major reasoners are implemented in, and should therefore not pose an excessive burden on reasoner developers.
منابع مشابه
New foundations for imperative logic III: A general definition of argument validity
Besides pure declarative arguments, whose premises and conclusions are declaratives (“you sinned shamelessly; so you sinned”), and pure imperative arguments, whose premises and conclusions are imperatives (“repent quickly; so repent”), there are mixed-premise arguments, whose premises include both imperatives and declaratives (“if you sinned, repent; you sinned; so repent”), and cross-species a...
متن کاملQur'anic reading of the meaning of "architecture" according to the Sharif verse 61 Hood
The Holy Quran is the guidebook of life and the architecture is the container of human life. The Architecture take shapes of life.The concepts outlined in the Holy Quran as a guide to life can help to produce theoretical concepts in the field of architecture. This study explores the realization of the concept of the word "Eimara" in the Quran and seeks to ask: what are the meanings of architec...
متن کاملThe Corporatization of America's Healthcare System: Implications for Compassion Fatigue among Nurses
iii DEDICATION For more than a decade now, I have been nursing the afflicted, advocating for the afflicted, serving the afflicted, and on many occasions witnessing the loss that often times accompanies the afflicted! Loss is a hard but rightfully normal part of life on this side of heaven. I do not know if it is the loss itself, or the immediate stages after the loss that are hardest… But I agr...
متن کاملTransformative Preaching in the Transitioning Korean American Church
Again, truly I tell you, if two of you agree on earth about anything you ask, it will be done for you by my Father in heaven. For where two or three are gathered in my name, I am there among them. (NRSV)
متن کاملOrgan Donation After Death Ð Should I Decide, or Should My Family?
Who should decide about organ donation after death, the individual or the family? This paper examines why this practical question can be difficult to resolve. A comparison is made between standard decision-making in medicine and decision-making about organ donation. The questions are raised of the connection of the dead body to the person, and of who properly has autonomous control over the dea...
متن کامل